﻿using System;
using System.Linq;
using System.Linq.Expressions;

namespace SEOBlog.Domain
{
    public interface IRepository<T>
    {
        IQueryable<T> All();

        IQueryable<T> Where(Expression<Func<T, bool>> query); 

        // void Remove(T entity);

        bool Insert(T entity);

        bool Save(T entity);
    }
}
